package com.lin.dao;

import com.lin.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface UserDao {
    @Select("select * from user")
    List<User> getAllUser();
}
